<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
    <base href="<%=basePath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>农资与农产品全程供应链物流平台</title>
<meta name="kewywords" content="农资与农产品全程供应链物流平台"/>
<meta name="description" content="农资与农产品全程供应链物流平台"/>
<link href="css/style.css" type="text/css" rel="stylesheet"/>
<link href="css/login.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/dialog/lhgdialog.js?skin=default"></script>
<script type="text/javascript">
	$(document).ready(function(){
		if($("#loginMessage").val() != ""){
			showTip($("#loginMessage").val());
		}
	});
	function loginConfirm(){
		if($("#userName").val() == ""){
			showTip("请输入用户名");
			return;
		}
		if($("#passWd").val() == ""){
			showTip("请输入密码");
			return;
		}
		$("#loginAction").submit();
	}
	function showTip(alertMessage){
		$.dialog({
			title: "提示",
		    time: 5,
		    lock: true,
		    content: alertMessage,
		    width: 160,
	    	height: 80
		});
	}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td height="126" class="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="tl">
      <tr>
        <td width="42%" height="126" align="left" valign="top"><img src="images/l_top.jpg" alt="" width="750" height="126" /></td>
        <td width="47%" valign="top"></td>
        <td width="11%" align="right"><img src="images/rt.jpg" alt="" width="170" height="126" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<div class="login-body">
<form action="loginAction" id = "loginAction" method="post">
<s:hidden id="loginMessage" name="loginMessage"/>
  <div class="operate-log fl">
    <table >
      <tr>
        <td colspan="2"><img src="images/login-user.jpg" alt="" /></td>
      </tr>
      <tr>
        <td height="40">用户名：</td>
        <td><input type="text"  class="text-log" id="userName" name="adminBean.username" title="请输入用户名"/></td>
        
      </tr>
      <tr>
        <td height="40">密&nbsp;&nbsp;码：</td>
        <td>
        	<input type="password"  id="passWd" name="adminBean.passwd" class="text-log" title="请输入密码"/>
        </td> 
      </tr><!--
      <tr style=" ">
        <td></td>
        <td height="40"> 
         
        <span class="auto">
			<input name="" type="checkbox" value="" />
			下次自动登录| </span><a href="#" class="forget-pwd">忘记密码</a> 
		</td>
      </tr> -->
      <tr>
        <td colspan="2" align="center" valign="middle">
            &nbsp; &nbsp; &nbsp;
        	<input type="button" value="" name="loginBt" class="btn-log" onclick="loginConfirm()"/>
        	  &nbsp; 
        	 <a href="checkOrder.jsp">物流查询</a>
        	</td>
        	
      </tr>
    </table>
  </div>
  </form>
  <div class=" img-log fl"><img src="images/login_pig.jpg" alt="" width="538" height="337" /></div>
  <div class="clr"></div>
</div>

<div class="bottom">版权所有：安徽朗坤物联网</div>
</body>
</html>